/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.cslg.dorm.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.cslg.dorm.entity.DormArrange;
import com.thinkgem.jeesite.cslg.dorm.dao.DormArrangeDao;

/**
 * 宿舍安排Service
 * @author 张文锦
 * @version 2016-12-30
 */
@Service
@Transactional(readOnly = true)
public class DormArrangeService extends CrudService<DormArrangeDao, DormArrange> {

	public DormArrange get(String id) {
		return super.get(id);
	}
	
	public List<DormArrange> findList(DormArrange dormArrange) {
		return super.findList(dormArrange);
	}
	
	public Page<DormArrange> findPage(Page<DormArrange> page, DormArrange dormArrange) {
		return super.findPage(page, dormArrange);
	}
	
	@Transactional(readOnly = false)
	public void save(DormArrange dormArrange) {
		super.save(dormArrange);
	}
	
	@Transactional(readOnly = false)
	public void delete(DormArrange dormArrange) {
		super.delete(dormArrange);
	}
	
}